package com.shop.cloud.model.response.api;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author xiaojun.wang
 */
@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ApiGetGoodsOrderListResponseModelList {
    
    /**
     * 订单id
     */
    @JsonProperty("id")
    @ApiModelProperty(value = "订单id", example = "订单id", required = true)
    private String id;
    
    /**
     * 1：待发货，2：待收货，3：已结束
     */
    @JsonProperty("status")
    @ApiModelProperty(value = "订单状态", example = "订单状态", required = true)
    private String status;
    
    /**
     * 状态描述，例：等待商家发货
     */
    @JsonProperty("statusStr")
    @ApiModelProperty(value = "状态描述", example = "状态描述", required = true)
    private String statusStr;
    
    @JsonProperty("time")
    @ApiModelProperty(value = "下单时间", example = "下单时间", required = true)
    private String time;
    
    @JsonProperty("total")
    @ApiModelProperty(value = "总价", example = "总价", required = true)
    private String total;

    /**
     * 商品类型，1：鸿豆，2：积分
     */
    @JsonProperty("type")
    @ApiModelProperty(value = "商品类型", example = "商品类型", required = true)
    private String type;
    
    @JsonProperty("goodsList")
    @ApiModelProperty(value = "商品列表", example = "商品列表", required = true)
    private List<ApiGetGoodsOrderListResponseGoodsList> goodsList;
    
    @JsonProperty("orderNO")
    @ApiModelProperty(value = "订单编号", example = "订单编号", required = true)
    private String orderNO;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getStatusStr() {
		return statusStr;
	}

	public void setStatusStr(String statusStr) {
		this.statusStr = statusStr;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getTotal() {
		return total;
	}

	public void setTotal(String total) {
		this.total = total;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public List<ApiGetGoodsOrderListResponseGoodsList> getGoodsList() {
		return goodsList;
	}

	public void setGoodsList(List<ApiGetGoodsOrderListResponseGoodsList> goodsList) {
		this.goodsList = goodsList;
	}

	public String getOrderNO() {
		return orderNO;
	}

	public void setOrderNO(String orderNO) {
		this.orderNO = orderNO;
	}
}
